//
//  ViewController.m
//  WebApp
//
//  Created by Dmitry Tishchenko on 9/9/13.
//  Copyright (c) 2013 mera_user. All rights reserved.
//

//#ifndef URL_STRING
//    #define URL_STRING @"http://www.google.ru"
//#endif

#import "ViewController.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
    NSURL *url = [[NSURL alloc] initWithString:URL_STRING];
    [_webView loadRequest:[NSURLRequest requestWithURL:url]];
    [url release];
    _addressLabel.text = URL_STRING;
	// Do any additional setup after loading the view, typically from a nib.
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
